// numType 0 保留两位小数 1 整数 3 无限制

// 对象解析
/*
{
    value: "0", // 数量
    name: "用地面积", // 能耗名称
    unit: "平方米", // 计量单位
    numType: 0, // 数量数据类型
    code: "009",// 代码(唯一识别)
    fields: "landArea",// 对应表单字段
    lastValue:"0", // 上期数据
    loopRatio:"0", // 环比(%)
    lastYearvalue:"0", // 去年同期数据
    togetherRatio:"0", // 同比(%)
    notInput:false,// 不显示输入框
    isChildren:false,// 是否为子项 false： 不是  1：离左20 2：离左40  3： 加其中 离左20 4: 离左 50
}
*/

export const tableData = [
    {
        value: "0",
        name: "用地面积",
        unit: "平方米",
        numType: 0,
        code: "009",
        fields: "landArea",
        lastValue: "0",
        loopRatio: "0",
        lastYearvalue: "0",
        togetherRatio: "0",
    },
    {
        value: "0",
        name: "建筑面积",
        unit: "平方米",
        numType: 0,
        code: "101",
        fields: "buildingArea",
        lastValue: "0",
        loopRatio: "0",
        lastYearvalue: "0",
        togetherRatio: "0",
    },
    {
        value: "0",
        name: "用能人数",
        unit: "人",
        numType: 1,
        code: "102",
        fields: "userNum",
        lastValue: "0",
        loopRatio: "0",
        lastYearvalue: "0",
        togetherRatio: "0",
    },
    {
        value: "0",
        name: "总预算",
        unit: "元",
        numType: 1,
        code: "1021",
        fields: "budgetFund",
        lastValue: "0",
        loopRatio: "0",
        lastYearvalue: "0",
        togetherRatio: "0",
    },
    {
        value: "0",
        name: "已用",
        unit: "元",
        numType: 1,
        code: "103",
        fields: "usedFund",
        lastValue: "0",
        loopRatio: "0",
        lastYearvalue: "0",
        togetherRatio: "0",

    },
    {
        value: "0",
        name: "剩余",
        unit: "元",
        numType: 1,
        code: "1031",
        fields: "balanceFund",
        lastValue: "0",
        loopRatio: "0",
        lastYearvalue: "0",
        togetherRatio: "0",
        isChildren: 3,
    },
    {
        value: "0",
        name: "人均电耗",
        unit: "千瓦时",
        numType: 1,
        code: "1032",
        fields: "perCapitaElectricConsumption",
        lastValue: "0",
        loopRatio: "0",
        lastYearvalue: "0",
        togetherRatio: "0",
        isChildren: 5,
    },
    {
        value: "0",
        name: "人均水耗",
        unit: "吨",
        numType: 1,
        code: "1033",
        fields: "perCapitaWaterConsumption",
        lastValue: "0",
        loopRatio: "0",
        lastYearvalue: "0",
        togetherRatio: "0",
        isChildren: 5,
    },
    {
        value: "0",
        name: "人均碳排",
        unit: "kgCO2",
        numType: 0,
        code: "110",
        fields: "perCapitaCarbonEmissions",
        lastValue: "0",
        loopRatio: "0",
        lastYearvalue: "0",
        togetherRatio: "0",
    },
    {
        value: "0",
        name: "公摊用水",
        unit: "吨",
        numType: 0,
        code: "111",
        fields: "publicShareWaterConsumption",
        lastValue: "0",
        loopRatio: "0",
        lastYearvalue: "0",
        togetherRatio: "0",
        isChildren: 1,
    },
    {
        value: "0",
        name: "公摊用电",
        unit: "千瓦时",
        numType: 0,
        code: "120",
        fields: "publicShareElectricConsumption",
        lastValue: "0",
        loopRatio: "0",
        lastYearvalue: "0",
        togetherRatio: "0",
    },
    {
        value: "0",
        name: "办公用电消费量",
        unit: "千瓦时",
        numType: 0,
        code: "121",
        fields: "officialElectricValue",
        lastValue: "0",
        loopRatio: "0",
        lastYearvalue: "0",
        togetherRatio: "0",
        isChildren: 1,
    },
    {
        value: "0",
        name: "费用",
        unit: "元",
        numType: 0,
        code: "130",
        fields: "officialElectricCost",
        lastValue: "0",
        loopRatio: "0",
        lastYearvalue: "0",
        togetherRatio: "0",
    },
    {
        value: "0",
        name: "办公用水消费量",
        unit: "吨",
        numType: 0,
        code: "131",
        fields: "officialWaterValue",
        lastValue: "0",
        loopRatio: "0",
        lastYearvalue: "0",
        togetherRatio: "0",
        isChildren: 1,
    },
    {
        value: "0",
        name: "费用",
        unit: "元",
        numType: 0,
        code: "140",
        fields: "officialWaterCost",
        lastValue: "0",
        loopRatio: "0",
        lastYearvalue: "0",
        togetherRatio: "0",
    },
    {
        value: "0",
        name: "非办公用电消费量",
        unit: "千瓦时",
        numType: 0,
        code: "141",
        fields: "nonOfficialElectricValue",
        lastValue: "0",
        loopRatio: "0",
        lastYearvalue: "0",
        togetherRatio: "0",
        isChildren: 1,
    },
    {
        value: "0",
        name: "费用",
        unit: "元",
        numType: 0,
        code: "200",
        fields: "nonOfficialElectricCost",
        lastValue: "0",
        loopRatio: "0",
        lastYearvalue: "0",
        togetherRatio: "0",
    },
    {
        value: "0",
        name: "非办公用水消费量",
        unit: "吨",
        numType: 0,
        code: "201",
        fields: "nonOfficialWaterValue",
        lastValue: "0",
        loopRatio: "0",
        lastYearvalue: "0",
        togetherRatio: "0",
        isChildren: 1,
    },
    {
        value: "0",
        name: "费用",
        unit: "元",
        numType: 0,
        code: "210",
        fields: "nonOfficialWaterCost",
        lastValue: "0",
        loopRatio: "0",
        lastYearvalue: "0",
        togetherRatio: "0",
    },
    {
        value: "0",
        name: "特殊用电消费量",
        unit: "千瓦时",
        numType: 0,
        code: "211",
        fields: "specialElectricValue",
        lastValue: "0",
        loopRatio: "0",
        lastYearvalue: "0",
        togetherRatio: "0",
        isChildren: 1,
    },
    {
        value: "0",
        name: "费用",
        unit: "元",
        numType: 0,
        code: "220",
        fields: "specialElectricCost",
        lastValue: "0",
        loopRatio: "0",
        lastYearvalue: "0",
        togetherRatio: "0",
    },
    {
        value: "0",
        name: "特殊用水消费量",
        unit: "吨",
        numType: 0,
        code: "221",
        fields: "specialWaterValue",
        lastValue: "0",
        loopRatio: "0",
        lastYearvalue: "0",
        togetherRatio: "0",
        isChildren: 1,
    },
    {
        value: "0",
        name: "费用",
        unit: "元",
        numType: 0,
        code: "150",
        fields: "specialWaterCost",
        lastValue: "0",
        loopRatio: "0",
        lastYearvalue: "0",
        togetherRatio: "0",
    },
    {
        value: "0",
        name: "电消费量",
        unit: "千瓦时",
        numType: 0,
        code: "151",
        fields: "electricValue",
        lastValue: "0",
        loopRatio: "0",
        lastYearvalue: "0",
        togetherRatio: "0",
        isChildren: 1,
    },
    {
        value: "0",
        name: "费用",
        unit: "元",
        numType: 0,
        code: "1501",
        fields: "electricCost",
        lastValue: "0",
        loopRatio: "0",
        lastYearvalue: "0",
        togetherRatio: "0",
        isChildren: 3,
    },
    {
        value: "0",
        name: "水消费量",
        unit: "吨",
        numType: 0,
        code: "1511",
        fields: "waterValue",
        lastValue: "0",
        loopRatio: "0",
        lastYearvalue: "0",
        togetherRatio: "0",
        isChildren: 4,
    },
    {
        value: "0",
        name: "费用",
        unit: "元",
        numType: 0,
        code: "1502",
        fields: "waterCost",
        lastValue: "0",
        loopRatio: "0",
        lastYearvalue: "0",
        togetherRatio: "0",
        isChildren: 5,
    }, {
        value: "0",
        name: "煤炭消费量",
        unit: "千克",
        numType: 0,
        code: "1512",
        fields: "coalValue",
        lastValue: "0",
        loopRatio: "0",
        lastYearvalue: "0",
        togetherRatio: "0",
        isChildren: 4,
    },
    {
        value: "0",
        name: "费用",
        unit: "元",
        numType: 0,
        code: "160",
        fields: "coalCost",
        lastValue: "0",
        loopRatio: "0",
        lastYearvalue: "0",
        togetherRatio: "0",
    },
    {
        value: "0",
        name: "天然气消费量",
        unit: "立方米",
        numType: 0,
        code: "1512",
        fields: "gasValue",
        lastValue: "0",
        loopRatio: "0",
        lastYearvalue: "0",
        togetherRatio: "0",
        isChildren: 4,
    },
    {
        value: "0",
        name: "费用",
        unit: "元",
        numType: 0,
        code: "160",
        fields: "gasCost",
        lastValue: "0",
        loopRatio: "0",
        lastYearvalue: "0",
        togetherRatio: "0",
    },
    {
        value: "0",
        name: "再生能源消费量",
        unit: "千卡",
        numType: 0,
        code: "1512",
        fields: "renewableEnergyValue",
        lastValue: "0",
        loopRatio: "0",
        lastYearvalue: "0",
        togetherRatio: "0",
        isChildren: 4,
    },
    {
        value: "0",
        name: "费用",
        unit: "元",
        numType: 0,
        code: "160",
        fields: "renewableEnergyCost",
        lastValue: "0",
        loopRatio: "0",
        lastYearvalue: "0",
        togetherRatio: "0",
    },
    {
        value: "0",
        name: "绿电消费量",
        unit: "千瓦时",
        numType: 0,
        code: "1512",
        fields: "greenElectricValue",
        lastValue: "0",
        loopRatio: "0",
        lastYearvalue: "0",
        togetherRatio: "0",
        isChildren: 4,
    },
    {
        value: "0",
        name: "费用",
        unit: "元",
        numType: 0,
        code: "160",
        fields: "greenElectricCost",
        lastValue: "0",
        loopRatio: "0",
        lastYearvalue: "0",
        togetherRatio: "0",
    },
];

export const explain =
    "1.单位负责人指本单位主管节能工作的领导；统计负责人指本单位负责节能工作的处（科、室）领导；填表人指本单位具体负责填写能耗统计报表的人员。";

export default {
    tableData,
    explain,
};
